package com.ftj.bills.sys.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 21seu.ftj
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Bills implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String title;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date billtime;

    private Integer typeid;

    @TableField(exist = false)
    private String typeName;

    private Double price;

    private String remark;
}
